package com.example.demo.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "schedule")
public class Schedule {
    @Id
    private int id;
    private String Clazz;
    private String Mon1,Mon2,Mon3,Mon4,Mon5;
    private String Tue1,Tue2,Tue3,Tue4,Tue5;
    private String Wed1,Wed2,Wed3,Wed4,Wed5;
    private String Thu1,Thu2,Thu3,Thu4,Thu5;
    private String Fri1,Fri2,Fri3,Fri4,Fri5;

    @Override
    public String toString() {
        return "{" +
                "Clazz='" + Clazz + '\'' +
                ", Mon1='" + Mon1 + '\'' +
                ", Mon2='" + Mon2 + '\'' +
                ", Mon3='" + Mon3 + '\'' +
                ", Mon4='" + Mon4 + '\'' +
                ", Mon5='" + Mon5 + '\'' +
                ", Tue1='" + Tue1 + '\'' +
                ", Tue2='" + Tue2 + '\'' +
                ", Tue3='" + Tue3 + '\'' +
                ", Tue4='" + Tue4 + '\'' +
                ", Tue5='" + Tue5 + '\'' +
                ", Wed1='" + Wed1 + '\'' +
                ", Wed2='" + Wed2 + '\'' +
                ", Wed3='" + Wed3 + '\'' +
                ", Wed4='" + Wed4 + '\'' +
                ", Wed5='" + Wed5 + '\'' +
                ", Thu1='" + Thu1 + '\'' +
                ", Thu2='" + Thu2 + '\'' +
                ", Thu3='" + Thu3 + '\'' +
                ", Thu4='" + Thu4 + '\'' +
                ", Thu5='" + Thu5 + '\'' +
                ", Fri1='" + Fri1 + '\'' +
                ", Fri2='" + Fri2 + '\'' +
                ", Fri3='" + Fri3 + '\'' +
                ", Fri4='" + Fri4 + '\'' +
                ", Fri5='" + Fri5 + '\'' +
                '}';
    }
}
